package po;

import java.io.Serializable;

public class User implements Serializable{
	private int customerId; //主键 自生成字段
	private String account; //账户
	private String password; //密码
	private Rating rat;
	private String isTutor;
	private UserDetail userDetail; //用户的具体信息
	
	public User() {}
	
	//set get
	public void setCustomerId(int customerId) {
		this.customerId = customerId;
	}
	public int getCustomerId() {
		return this.customerId;
	}
	
	public void setAccount(String account) {
		
		this.account = account;
	}
	public String getAccount() {
		return this.account;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPassword() {
		return this.password;
	}
	
	public void setUserDetail(UserDetail userDetail) {
		this.userDetail = userDetail;
	}
	public UserDetail getUserDetail() {
		return this.userDetail;
	}

	public Rating getRat() {
		return rat;
	}

	public void setRat(Rating rat) {
		this.rat = rat;
	}

	public String getIsTutor() {
		return isTutor;
	}

	public void setIsTutor(String isTutor) {
		this.isTutor = isTutor;
	}
}
